package com.activiti.service;

import com.activiti.ReturnT;
import com.activiti.model.DeploymentInfo;
import com.activiti.model.FlowForm;
import com.activiti.model.ProcessInstanceInfo;
import com.activiti.model.StartProcessInfo;

/**
 * 流程相关的服务
 */
public interface ActivitiService {

    ReturnT<DeploymentInfo> deploy(DeploymentInfo deploymentInfo);


    ReturnT<ProcessInstanceInfo> startProcessInstance(StartProcessInfo startProcessInfo);

    void startForm(FlowForm flowForm);

}
